package com.eqdd.yiqidian.ui.base;

import android.databinding.DataBindingUtil;
import android.support.v4.app.Fragment;
import android.view.View;

import com.eqdd.yiqidian.R;
import com.eqdd.yiqidian.TongshiListActivityCustom;
import com.eqdd.yiqidian.adapter.MyFragmentPagerAdapter;
import com.eqdd.yiqidian.base.BaseActivity;
import com.eqdd.yiqidian.bean.rebuild.DepartmentListResultBean;

import java.util.ArrayList;
import java.util.List;

public abstract class TapActivity extends BaseActivity {
    private TongshiListActivityCustom dataBinding;
    private MyFragmentPagerAdapter myFragmentPagerAdapter;
    private List<String> title = new ArrayList<>();
    private List<Fragment> views = new ArrayList<>();
    private List<String> ids = new ArrayList<>();

    @Override
    public void initBinding() {
        dataBinding = DataBindingUtil.setContentView(this, R.layout.activity_tongshi_list);
        initTopTitleBar(View.VISIBLE, "同事");
    }


    public abstract void addFragment(DepartmentListResultBean departmentListResultBean) ;

    @Override
    public void setView() {

    }

    @Override
    public void onClick(View v) {
        super.onClick(v);
        switch (v.getId()) {

        }
    }
}
